import {mainEchart} from '../index';

export default class graphTemplate extends mainEchart {
    defaultOption = {
        tooltip: {},
        animationDuration: 1500,
        animationEasingUpdate: 'quinticInOut',
        series: {
            name: '',
            type: 'graph',
            layout: 'none',
            roam: true,
            label: {
                show:true,
                textStyle: {
                    color:'#fff',
                    fontSize:24
                },
            },
            lineStyle: {
                color: 'source',
                curveness: 0.2
            },
            emphasis: {
                focus: 'adjacency',
                lineStyle: {
                    width: 10
                }
            }
        }
    }

    constructor(option) {
        super(option);
    }
}